import {Routes, RouterModule} from '@angular/router';
import {ModuleWithProviders} from '@angular/core';
import {DiscoveryComponent} from "./discovery.component";
import { AddComponent } from "./add/add.component";
import { PushComponent } from "./push/push.component";
import { AddActivityComponent } from "./add-activity/add-activity.component";

export const routes: Routes = [
  {
    path:'list',
    component: DiscoveryComponent,
    children: []
  },
  {
    path:'add',
    component: AddComponent,
    children: []
  },
  {
    path:'add_activity',
    component: AddActivityComponent,
    children: []
  },
  {
    path:'push',
    component: PushComponent,
    children: []
  }
];

export const routing: ModuleWithProviders = RouterModule.forChild(routes);
